import request from '@/utils/request'

// 查询到站信息登记列表
export function listArrivalInformation(query) {
  return request({
    url: '/stureg/ArrivalInformation/list',
    method: 'get',
    params: query
  })
}

// 查询到站信息登记详细
export function getArrivalInformation(arriveId) {
  return request({
    url: '/stureg/ArrivalInformation/' + arriveId,
    method: 'get'
  })
}

// 新增到站信息登记
export function addArrivalInformation(data) {
  return request({
    url: '/stureg/ArrivalInformation',
    method: 'post',
    data: data
  })
}

// 修改到站信息登记
export function updateArrivalInformation(data) {
  return request({
    url: '/stureg/ArrivalInformation/update',
    method: 'post',
    data: data
  })
}

// 删除到站信息登记
export function delArrivalInformation(arriveId) {
  return request({
    url: '/stureg/ArrivalInformation/delete/' + arriveId,
    method: 'post'
  })
}
